﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteNew.Master" Inherits="System.Web.Mvc.ViewPage<ASPNETMVCApplication.Areas.Shop.Models.CustomerModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Register
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <script>
        $(function () {
            $("button, input:submit,input:reset,.regist").button();
        });
	</script> 
    <div id="page-heading"><h1>Đăng kí tài người dùng</h1></div>
    <% Html.EnableClientValidation(); %>
 <% using (Html.BeginForm("Register", "Customer", FormMethod.Post, new { enctype = "multipart/form-data" }))
    {%>
        <%: Html.ValidationSummary(true) %>
<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
<tr>
	<th rowspan="3" class="sized"><img src="/Assets/images/shared/side_shadowleft.jpg" 
            width="20" height="300" alt="" /></th>
	<th class="topleft"></th>
	<td id="tbl-border-top">&nbsp;</td>
	<th class="topright"></th>
	<th rowspan="3" class="sized"><img src="/Assets/images/shared/side_shadowright.jpg" 
            width="20" height="300" alt="" /></th>
</tr>
<tr>
	<td id="tbl-border-left"></td>
	<td>
	<!--  start content-table-inner -->
	<div id="content-table-inner">
	
	<table border="0" width="100%" cellpadding="0" cellspacing="0">
	<tr valign="top">
	<td>
		<!-- start id-form -->
		<table border="0" cellpadding="0" cellspacing="0"  id="id-form">
		<tr>
			<th valign="top">Tên tài khoản:</th>
			<td style="width: 248px"> <%: Html.TextBoxFor(model => model.UserName, new { @class = "inp-form" })%>
                </td>
			<td style="width: 418px"><%: Html.ValidationMessageFor(model => model.UserName) %></td>
			<th valign="top" style="width: 110px">Điện thoại:</th>
			<td style="width: 312px"><%: Html.TextBoxFor(model => model.Telephone, new { @class = "inp-form" })%></td>
			<td style="width: 312px"><%: Html.ValidationMessageFor(model => model.Telephone) %></td>
		</tr>
        <tr>
			<th valign="top">Mật khẩu:</th>
			<td style="width: 248px"><%: Html.PasswordFor(model => model.Password, new { @class = "inp-form" })%>
                </td>
			<td style="width: 418px"><%: Html.ValidationMessageFor(model => model.Password) %></td>
			<th valign="top" style="width: 110px">Số di động:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.MobilePhone, new { @class = "inp-form" })%>
                </td>
			<td style="width: 312px"><%: Html.ValidationMessageFor(model => model.MobilePhone) %></td>
			
		</tr>
         <tr>
			<th valign="top">Nhập lại mật khẩu:</th>
			<td style="width: 248px"><%: Html.PasswordFor(model => model.Password, new { @class = "inp-form" })%>
               </td>
			<td style="width: 418px"> <%: Html.ValidationMessageFor(model => model.Password) %></td>
			<th valign="top" style="width: 110px">Google ID:</th>
			<td style="width: 248px"> <%: Html.TextBoxFor(model => model.GoogleId, new { @class = "inp-form" })%></td>
                
			<td style="width: 312px"><%: Html.ValidationMessageFor(model => model.GoogleId) %></td>
          
		</tr>
        <tr>
			<th valign="top">Họ tên:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.Name, new { @class = "inp-form" })%>
                </td>
			<td style="width: 418px"><%: Html.ValidationMessageFor(model => model.Name) %></td>
			<th valign="top" style="width: 110px">Yahoo ID:</th>
			<td style="width: 248px"> <%: Html.TextBoxFor(model => model.YahooId, new { @class = "inp-form" })%>
                </td>
			<td style="width: 312px"><%: Html.ValidationMessageFor(model => model.YahooId) %></td>
		
		</tr>
        <tr>
			<th valign="top">Email:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.Email, new { @class = "inp-form" })%>
                </td>
			<td style="width: 418px"><%: Html.ValidationMessageFor(model => model.Email) %></td>
			<th valign="top" style="width: 110px">Skype ID:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.SkypeId, new { @class = "inp-form" })%>
                </td>
			<td style="width: 312px"><%: Html.ValidationMessageFor(model => model.SkypeId) %></td>
		
		</tr>
        <tr>
			<th valign="top">Tên công ty:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.CompanyName, new { @class = "inp-form" })%>
                </td>
			<td style="width: 418px"><%: Html.ValidationMessageFor(model => model.CompanyName) %></td>
			<th valign="top" style="width: 110px">Facebook ID:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.FacebookId, new { @class = "inp-form" })%>
                </td>
			<td style="width: 312px"><%: Html.ValidationMessageFor(model => model.FacebookId) %></td>
		
		</tr>
         <tr>
			<th valign="top">Tỉnh / Thành phố:</th>
			<td style="width: 248px"><%: Html.TextBoxFor(model => model.City, new { @class = "inp-form" })%>
                </td>
			<td style="width: 418px"><%: Html.ValidationMessageFor(model => model.City) %></td>
			<td style="width: 110px">&nbsp;</td>
			<td style="width: 312px">&nbsp;</td>
			<td style="width: 312px">&nbsp;</td>
		</tr>
        <tr>
		<th valign="top">Quốc gia:</th>
		<td>	
		<select id="Country" name="Country"  class="styledselect_form_1">
			<option value="1" selected="selected">Việt Nam</option>
			<option value="2">Lào</option>
			<option value="3">Campuchia</option>
		</select></td>
		<td style="width: 418px"></td>
		<td style="width: 110px">&nbsp;</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		</tr>
		
	<tr>
		<th>&nbsp;</th>
		<td valign="top">
			&nbsp;
		</td>
		<td style="width: 418px">
			<input type="submit" value="Đăng Kí"/><input type="reset" value="Xóa"  /></td>
		<td style="width: 110px">
			&nbsp;</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
	</table>
	<!-- end id-form  -->

	</td>
	<td>

	

</td>
</tr>
<tr>
<td><img src="images/shared/blank.gif" width="695" height="1" alt="blank" /></td>
<td></td>
</tr>
</table>
 
<div class="clear"></div>
 

</div>
<!--  end content-table-inner  -->
</td>
<td id="tbl-border-right"></td>
</tr>
<tr>
	<th class="sized bottomleft"></th>
	<td id="tbl-border-bottom">&nbsp;</td>
	<th class="sized bottomright"></th>
</tr>
</table>
    <% } %>
</asp:Content>

